package info.ask4research.dao;

import java.util.List;

import info.ask4research.dao.core.AbstractDao;
import info.ask4research.model.addons.Addon;
import info.ask4research.model.toolsAndMaterials.AnnouncementService;
import info.ask4research.model.toolsAndMaterials.ChatService;
import info.ask4research.model.toolsAndMaterials.ForumService;
import info.ask4research.model.toolsAndMaterials.LearningObject;
import info.ask4research.model.toolsAndMaterials.SentMailService;
import info.ask4research.model.toolsAndMaterials.ToolAndMaterial;

public interface IToolAndMaterialDAO extends AbstractDao<ToolAndMaterial>{

	List<LearningObject> getLearningObjectByUoL(int idUoL);

	List<ForumService> getForumServicesByUoL(int idUoL);

	List<AnnouncementService> getAnnouncementServiceByUoL(int idUoL);

	List<ChatService> getChatServiceByUoL(int idUoL);

	List<SentMailService> getSentMailServiceByUoL(int idUoL);

	boolean tamNameExists(String stringTam, int idUoL);

	ToolAndMaterial getTaMByUoFandTamName(String stringTam, int idUoL);

	List<ToolAndMaterial> getTamByUoL(int id);

}
